package com.feidee.bigdata.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:CHQ
 * @Date:2020/4/27 9:47
 * @Description
 */
@RestController
public class ProviderController {
    @Value("${service.port}")
    private String port;

    @RequestMapping("/nacos")
    public String nacos() {
        return "hi, i am nacos,my port is " + port;
    }

}
